package com.vhall.component.entity.channel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 渠道访问记录表
 *
 * @TableName channel_visit_log
 */
@TableName(value = "channel_visit_log")
@Data
public class ChannelVisitLog implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 访问用户ID
     */
    private Integer accountId;

    /**
     * 访问渠道ID
     */
    private Object channelId;

    /**
     * 房间ID
     */
    private String roomId;

    /**
     * 修改时间
     */
    private Date updatedAt;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 删除时间
     */
    private Date deletedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}